package com.example.test.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "image")
public class Image {
	@Id
	@Column(name = "id")
    private Integer id;
	@Column(name = "path")
    private String path;
	@Column(name = "descript")
    private String descript;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript == null ? null : descript.trim();
    }

	@Override
	public String toString() {
		return "Image [id=" + id + ", path=" + path + ", descript=" + descript + "]";
	}
}